TZC: rename included C file to a header
authorAntonio Nino Diaz <[email protected]>
Tue, 28 Feb 2017 10:58:25 +0000 (10:58 +0000)
committerAntonio Nino Diaz <[email protected]>
Tue, 18 Apr 2017 09:36:02 +0000 (10:36 +0100)
commit239b085caab4cfd38708d5d1a7de8eb14bb952c7
treeb2e762b9a073d76366abc05d978f3ef18dcc6819
parent3d21c9452d4d5e17f545848bc4641274cdd6aa26
TZC: rename included C file to a header

C files shouldn't be included into others. This file only contains some
macros and functions that can be made `static inline`, so it is ok to
convert it into a header file.

This is the only occurrence of a C file being included in another one in
the codebase instead of using a header, other occurrences are a way of
achieving backwards-compatibility.

Functions therein have been qualified as `inline`.

Change-Id: I88fe300f6d85a7f0740ef14c9cb8fa54849218e6
Signed-off-by: Antonio Nino Diaz <[email protected]>
drivers/arm/tzc/tzc400.c
drivers/arm/tzc/tzc_common_private.c [deleted file]
drivers/arm/tzc/tzc_common_private.h [new file with mode: 0644]
drivers/arm/tzc/tzc_dmc500.c